package com.atguigu.day11.enumtest;

public class EnumTest {
    public static void main(String[] args) {
//        switch ("Colors"){
//            case "绿":
//                System.out.println("绿色");
//                break;
//        }
        Colors colors = Colors.绿;
        System.out.println(colors);
        System.out.println(colors.getName());

    }
}
